﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ELGGAPI.DomainModels;
using ELGGAPI.Models;
using ELGGAPI.Data;
using System.Web.Http;

namespace ELGGAPI.Controllers
{
    public class ErrorsController : Controller
    {
        public Response<Idclass> Index(Exception exception)
        {
            var response = new Response<Idclass>();
            response.Data = null;
            response.Message = "Hello " + exception.ToString();
            return (response);
        }
    }
}
